package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Order;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealService {
    public void add(Setmeal setmeal,Integer[] checkgroupIds);
    public PageResult findPage(QueryPageBean queryPageBean);
    public List<Setmeal> findAll();
    public Setmeal findById(Integer id);
    public List<Map> getSetmealReport();

    //编辑套餐
    void edit(Integer[] checkgroupIds, Setmeal setmeal);

    //回写套餐数据
    Setmeal findSetmealById(Integer id);

    //删除套餐数据
    public void deleteById(Integer id);


    List<Integer> findSetMealAndCheckGroup(Integer id);

    List<Order> findOrderById(Integer id);
}
